package com.nageoffer.shortlink.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nageoffer.shortlink.project.common.convention.result.Result;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ClassName: UrlTitleService
 * Package: com.nageoffer.shortlink.project.service
 * Description:
 *
 * @Author Jetson
 * @Create 2024/10/22 19:54
 * @Version 1.0
 */
public interface UrlTitleService {

    /**
     * 根据URL获取标题
     * @param url
     * @return
     */
    String getTitleByUrl(String url);
}
